package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <desc>
 *      共享电梯二维码生成记录实体类
 * </desc>
 *
 * @auther
 * @createDate 2021/7/20
 **/
@ItlTables("shared_elevator_qr_code_record")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SharedElevatorQrCodeRecordPO extends BasePO implements Serializable {


    @ItlField(value = "code_id", logicKey = "key")
    private String codeId;      //逻辑主键

    @ItlField("user_id")
    private String userId;      //用户id
    @ItlField("project_id")
    private String projectId;   //项目id

    @ItlField("room_id")
    private String roomId;      //房间id

    @ItlField("qr_code_content")
    private String qrCodeContent;// 二维码内容

    @ItlField("room_charge_mode")
    private Integer roomChargeMode; // //房间是否计次 1按次 2按有效期

    @ItlField("usable_count")
    private Integer usableCount;        //可用次数


    @ItlField("end_time")
    private String endTime;             //过期时间

}
